﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GoodDetail.aspx.cs" Inherits="Bidder_GoodDetail" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>修改商品</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css">
    <link href="../styles/global.css" rel="stylesheet" type="text/css" />

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <script language="javascript">

        function Sel() {
            //  window.alert("11");
            window.open('GoodsAdd_CompanySearch.aspx');
        }
        function confirmvalue(obj) {
            document.all("txtIsSalerId").value = obj.companyid;
            document.all("txtCompany").value = obj.companyName;
        }
        function Sel_dl() {
            //  window.alert("11");
            window.open('GoodsAdd_CompanySearch_dl.aspx');
        }
        function confirmvalue_dl(obj) {

            document.all("txtIsSalerId_dl1").value = obj.companyid;
            document.all("txtCompany_dl").value = obj.companyName;
        }
        function chk() {
            if (document.all("chkIsImport").checked == false) {
                table1.style.display = 'none';
            }
            else {
                table1.style.display = 'block';
            }
        }
        function chk2() {
            if (document.all("chkIsSurveyReport").checked == false) {
                table22.style.display = 'none';
            }
            else {
                table22.style.display = 'block';
            }
        }

         
       
        function   addEvent() {
          var rbl = document.getElementsByName("rdoQualityLevels");
          for(var i=0;i< rbl.length;i++)   
           {
               rbl[i].setAttribute("onclick", new Function("chk()")); 
            }     
    
         }   
    
          function   chk( )   
          {
              if (document.all.rdoQualityLevels_0.checked) //第一质量层次
              { document.getElementById("lableshow").innerHTML = "第一质量层次： 专利保护期内的化合物专利药品和药物组合物专利药品；获得国家科技进步奖的药品" }
              else if (document.all.rdoQualityLevels_1.checked)//第二质量层次
              { document.getElementById("lableshow").innerHTML = "第二质量层次： 发改委公布的单独定价药品和优质优价中成药" }
              else if (document.all.rdoQualityLevels_2.checked)//第三质量层次
              { document.getElementById("lableshow").innerHTML = "第三质量层次： 专利保护期内的工艺流程发明专利药品（含剂型专利药品）；过保护期的（化合物、药物组合物）专利药品；进口药品；获得美国ＦＤＡ认证或欧盟ＣＥ、ＣＧＭＰ认证的药品；质量标准起草单位的药品（含原研药品和首仿国外药品）" }
              else if (document.all.rdoQualityLevels_3.checked)//第四质量层次
              { document.getElementById("lableshow").innerHTML = "第四质量层次： 通过GMP认证的其他药品" }
          }   
            

    </script>

    <style type="text/css">
        #Radio1
        {
            width: 22px;
        }
    </style>
</head>
<body onload="addEvent()">
    <form id="Form1" runat="server">

    <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript"></script>

    <div>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td style="width: 4px">
                    <img src="../images/intro_left.gif" width="4" height="34">
                </td>
                <td class="intro_wordbg">
                    修改商品
                </td>
                <td background="../images/intro_bg.gif">
                    <img src="../images/intro_right.jpg" width="118" height="34">
                </td>
            </tr>
        </table>
        <table border="1" class="list" cellpadding="1" cellspacing="1" width="100%" id="tabData">
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    品目号：
                </td>
                <td class="td_right_30">
                    <asp:Label ID="labProductCode" runat="server"></asp:Label>
                </td>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    通用名：
                    <asp:Label ID="labProductId" runat="server"></asp:Label>
                </td>
                <td class="td_right_30">
                    <asp:Label ID="labProductName" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    剂型：
                </td>
                <td class="td_right_30">
                    <asp:Label ID="labMedicinemodel" runat="server"></asp:Label>
                </td>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    <asp:Label ID="Label4" runat="server" Text="规格："></asp:Label>
                </td>
                <td class="td_right_30">
                    <asp:Label ID="labOutlookc" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    最小制剂单位：
                </td>
                <td class="td_right_30">
                    <asp:TextBox ID="txtunit" runat="server"></asp:TextBox>
                </td>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    转换系数：
                </td>
                <td class="td_right_30">
                    <asp:TextBox ID="txtFactor0" runat="server" NumericOnly="转换系数" NotNull="转换系数" Width="91px"
                        DYL="转换系数" ZS="转换系数" QJZBJ="转换系数"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    最小包装单位：</td>
                <td class="td_right_30">
                    <asp:TextBox ID="packUnit" runat="server"></asp:TextBox>
                </td>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    &nbsp;
                </td>
                <td class="td_right_30">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    企业商品说明书名称：
                </td>
                <td class="td_right_30">
                    <asp:TextBox ID="txtProductNameSM" runat="server" InvertedComma="企业商品说明书名称" NotNull="企业商品说明书名称"
                        CssClass="txtbox_200"></asp:TextBox>
                    <span style="color: #ff0000">(*)</span>
                    <br />
                    <span style="color: #ff0000">按商品说明书上的药品名称填写。</span>
                    <br />
                    <span style="color: #ff0000">必须要和商品说明书上的名字一致。</span>
                </td>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    生产企业：
                </td>
                <td class="td_right_30">
                    <asp:Label ID="txtCompany" runat="server"></asp:Label>
                    <asp:TextBox ID="txtIsSalerId" runat="server" CssClass="txtbox_200"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    批准文号：
                </td>
                <td class="td_right_30">
                    <asp:TextBox runat="server" ID="txtLicenseNumber" InvertedComma="批准文号" CssClass="txtbox_200"></asp:TextBox>
                    <br />
                    <span style="color: #ff0000">如果是进口药品无需填写，其它药品必须填写。</span>
                </td>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    批准文号有效期：
                </td>
                <td class="td_right_30">
                    <asp:TextBox runat="server" ID="txtLicenseNumberDate" onclick="javascript:fPopCalendar(this,this);"
                        UNSELECTABLE="on" dataType="Date" format="ymd" require="true" DateTimeOnly="批准文号有效期"
                        CssClass="txtbox_200" EnableViewState="false"></asp:TextBox>
                    <br />
                    <span style="color: #ff0000">如果无有效期，请在“商品说明”中详细注明。</span>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    有无药品检验报告：
                </td>
                <td class="td_right_30">
                    <asp:CheckBox ID="chkIsSurveyReport" runat="server" Text="有" onclick="javascript:chk2()" /><br />
                    <table id="table22" style='display: <%=strbb %>'>
                        <tr>
                            <td class="td_left_40">
                                <asp:Label ID="Label1" runat="server" Text="药品检验报告编号："></asp:Label>
                            </td>
                            <td class="td_right_60">
                                <asp:TextBox ID="txtSurveyReportId" runat="server" CssClass="txtbox_150" InvertedComma="药品检验报告编号"></asp:TextBox>
                                <br />
                                <span style="color: #ff0000">市级或市级以上药检所</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_left_40">
                                <asp:Label ID="Label2" runat="server" Text="药品检验报告有效期："></asp:Label>
                            </td>
                            <td class="td_right_60">
                                <asp:TextBox ID="txtSurveyReportDate" runat="server" CssClass="txtbox_150" onclick="javascript:fPopCalendar(this,this);"
                                    UNSELECTABLE="on" dataType="Date" format="ymd" require="true" DateTimeOnly="药品检验报告有效期"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                    <asp:HiddenField ID="hidCheckStatus" runat="server" />
                    <asp:HiddenField ID="hidShenHeTime" runat="server" />
                </td>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    是否进口药：
                </td>
                <td class="td_right_30">
                    <asp:CheckBox ID="chkIsImport" Text="是" runat="server" onclick="javascript:chk()" /><br />
                    <table id="table1" style='display: <%=straa %>'>
                        <tr>
                            <td class="td_center" colspan="2">
                                <asp:TextBox ID="txtCompany_dl" runat="server" ReadOnly="true" CssClass="txtbox_200"></asp:TextBox>
                                <asp:TextBox ID="txtIsalerId_dL" runat="server" ReadOnly="true"></asp:TextBox>
                                <asp:Label ID="Label3" runat="server"></asp:Label>
                                <input id="Hidden2" name="txtIsSalerId_dl1" type="hidden" />
                            </td>
                        </tr>
                        <tr>
                            <td class="td_left_40">
                                进口药品注册证号：
                            </td>
                            <td class="td_right_60">
                                <asp:TextBox runat="server" ID="txtImportCode" InvertedComma="进口药品注册证号" CssClass="txtbox_150"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_left_40">
                                进口药品注册证有效期限：
                            </td>
                            <td class="td_right_60">
                                <asp:TextBox runat="server" ID="txtImportRegistDate" onclick="javascript:fPopCalendar(this,this);"
                                    UNSELECTABLE="on" dataType="Date" format="ymd" require="true" DateTimeOnly="进口药品注册证有效期限"
                                    CssClass="txtbox_150"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    商品名：
                </td>
                <td class="td_right_30">
                    <asp:TextBox runat="server" ID="txtGoodsName" InvertedComma="商品名" CssClass="txtbox_200"></asp:TextBox>
                </td>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    包装材质：
                </td>
                <td class="td_right_30">
                    <asp:TextBox runat="server" ID="txtMaterial" InvertedComma=" 材 质" CssClass="txtbox_200"></asp:TextBox>
                    <asp:TextBox runat="server" ID="txtPackUnit" InvertedComma="包装单位" CssClass="txtbox_200"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    最新零售价：
                </td>
                <td class="td_right_30">
                    <asp:TextBox runat="server" ID="txtRetailPrice" NumericOnly="最新零售价" NotNull="最新零售价"
                        CssClass="txtbox_200"></asp:TextBox>
                    <span style="color: #ff0033">(*)</span>
                </td>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    零售价出处：
                </td>
                <td class="td_right_30">
                    <asp:TextBox runat="server" ID="txtMemo4" InvertedComma="零售价出处" NotNull="零售价出处" CssClass="txtbox_200"></asp:TextBox>
                    <span style="color: #ff0033">(*)</span>
                    <br />
                    截止时间：
                    <asp:TextBox ID="txtjz" runat="server" onclick="javascript:fPopCalendar(this,this);"
                        dataType="Date" format="ymd" require="true" msg="日期不存在" CssClass="txtbox_150"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    GMP证书：
                </td>
                <td class="td_right_30">
                    认证编号：<asp:TextBox runat="server" ID="txtGmpCode" CssClass="txtbox_200"></asp:TextBox>
                    截止日期：<asp:TextBox runat="server" ID="txtGmpValDate" onclick="javascript:fPopCalendar(this,this);"
                        dataType="Date" format="ymd" require="true" CssClass="txtbox_200"></asp:TextBox>
                </td>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    &nbsp;
                </td>
                <td class="td_right_30">
                    <asp:RadioButtonList ID="rbtnYb" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow"
                        Visible="false">
                        <asp:ListItem Value="0" Selected="True">非医保</asp:ListItem>
                        <asp:ListItem Value="1">医保</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    药品质量层次：
                </td>
                <td class="td_right_80" colspan="3">
                    <table width="98%" border="0" cellpadding="2" cellspacing="1" class="table_table2">
                        <tr>
                            <td class="td_center" colspan="2">
                                <asp:RadioButtonList ID="rdoQualityLevels" name="rq" runat="server" RepeatDirection="Horizontal">
                                    <asp:ListItem Text="第一质量层次" Value="0" Selected="True"></asp:ListItem>
                                    <asp:ListItem Text="第二质量层次" Value="1"></asp:ListItem>
                                    <asp:ListItem Text="第三质量层次" Value="2"></asp:ListItem>
                                    <asp:ListItem Text="第四质量层次" Value="3"></asp:ListItem> 
                                </asp:RadioButtonList>
                              
                                <div style="text-align:left"><asp:Label ID="lableshow" runat="server" Text=""  ></asp:Label></div>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_left_20">
                                质量层次说明：
                            </td>
                            <td class="td_right_80">
                                <asp:TextBox ID="txtMemo5" runat="server" Height="86px" TextMode="MultiLine" Width="90%"
                                    InvertedComma="药品质量层次说明" NotNull="药品质量层次说明"></asp:TextBox>
                                <span style="color: #ff0000">(*)</span>
                                <br />
                                <span style="color: #ff0033">（是GMP填写GMP证号，专利药品、原研药品、单独定价药品、优质优价中成药注明出处和编号。）</span>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    商品说明：
                </td>
                <td class="td_right_80" colspan="3">
                    <asp:TextBox ID="txtGoodsInstruction" runat="server" Height="126px" TextMode="MultiLine"
                        Width="90%" InvertedComma="商品说明"></asp:TextBox>
                    <br />
                    <span style="color: #ff0033">（重点填写本商品和其他商品不同之处）</span>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    审核说明：
                </td>
                <td class="td_right_80" colspan="3">
                    <asp:TextBox ID="txtsh_discrible" runat="server" Height="126px" ReadOnly="True" TextMode="MultiLine"
                        Width="90%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="td_left_20" style="background-color: #F2F9FD;">
                    <asp:Label ID="labNoPass1" runat="server" Text="审核不通过原因："></asp:Label>
                </td>
                <td class="td_right_80" colspan="3">
                    <asp:Label ID="labNoPass" runat="server" Text=""></asp:Label>
                    &nbsp;&nbsp;
                </td>
            </tr>
            <tr>
                <td class="td_center" colspan="4">
                    <asp:Button ID="butUpdate" runat="server" Text="保 存" CssClass="button_80" OnClientClick="javascript:return CheckForm()"
                        OnClick="butUpdate_Click" />
                    <asp:Button ID="BtnSave" runat="server" Text="保 存" OnClick="BtnSave_Click" CssClass="button_80"
                        OnClientClick="javascript:return CheckForm()" />
                    <asp:Label ID="LBSave" runat="server" Text="（保存录入信息）"></asp:Label>
                    <asp:Button ID="BtnCancel" runat="server" Text="关 闭" CssClass="button_80" OnClick="BtnCancel_Click" />
                    <asp:TextBox ID="txtGoodsId" runat="server"></asp:TextBox>
                    <asp:TextBox ID="txtAccountId_TJR" runat="server"></asp:TextBox>
                    <asp:Button ID="BtnTJ" runat="server" Text="提 交" CssClass="button_80" OnClick="Button1_Click"
                        OnClientClick="javascript:return CheckForm()" Visible="false" />
                    <asp:Label ID="LBTJ" runat="server" Text="（确认填报完成后，单击提交，然后招标中心就可以对你的信息进行审核了。）"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
